package com.xianrenit.xianrenpuzi.manager.service;

import com.xianrenit.xianrenpuzi.model.entity.product.ProdcutSpec;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ProductSpecService {
    List<ProdcutSpec> listAll();

    ProdcutSpec getById(Long id);

    void update(ProdcutSpec prodcutSpec);

    void save(ProdcutSpec prodcutSpec);

    void deleteById(Long id);

    PageInfo<ProdcutSpec> list(Integer pageNum, Integer pageSize);
}
